<?php include('all/header.html') ?>
<body class="custom">
	<!-- begin #page-loader -->
	<div id="page-loader" class="fade in"><span class="spinner"></span></div>
	<!-- end #page-loader -->
	
	<!-- begin #page-container -->
	<div id="page-container" class="fade">

		<div class="ui-sortable">
                            <!-- begin panel -->
                            <div class="panel panel-inverse">
                                <div class="panel-heading">
                                    <div class="panel-heading-btn">
                                        <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
                                        <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-repeat"></i></a>
                                        <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
                                        <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
                                    </div>
                                    <h4 class="panel-title"><?php echo $title; ?></h4>
                                </div>
                                <div class="panel-body">
                                    <form class="form-horizontal" action="<?php echo config_item("base_url")."admin/user_admin/modCal?calId=".$data['id']."" ?>" method="POST">
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label ui-sortable">公式中文名称</label>
                                            <div class="col-sm-9 ui-sortable">
                                                <input class="form-control" value="<?php echo $data['cal_name'];?>" placeholder="公式中文名称" type="text" name="cal_name">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label ui-sortable">公式英文名称</label>
                                            <div class="col-sm-9 ui-sortable">
                                                <input class="form-control" value="<?php echo $data['english_name'];?>" placeholder="公式英文名称" type="text" name="english_name">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label ui-sortable">公式编号</label>
                                            <div class="col-sm-9 ui-sortable">
                                                <input class="form-control" value="<?php echo $data['cal_number'];?>" placeholder="公式编号" type="text" name="cal_number" readonly="readonly">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label ui-sortable">公式算法</label>
                                            <div class="col-sm-9 ui-sortable">
                                                <textarea class="form-control"  rows="4" name="cal_ari" ><?php echo $data['cal_ari'];?></textarea> 
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label ui-sortable">公式说明</label>
                                            <div class="col-sm-9 ui-sortable">
                                                <textarea class="form-control"  rows="5" name="cal_info"><?php echo $data['cal_info'];?></textarea> 
                                            </div>
                                        </div>
                                       <div class="form-group">
                                            <label class="col-sm-3 control-label ui-sortable"></label>
                                            <div class="col-sm-9 ui-sortable">
                                                <button type="submit" class="btn btn-sm btn-success custom_submit">提交</button>
                                            </div>
                                        </div>
                                        
                                        
                                        
                                    </form>
                                </div>
                            </div>
                            <!-- end panel -->
                        </div>
		<!-- begin scroll to top btn -->
		<a href="javascript:;" class="btn btn-icon btn-circle btn-success btn-scroll-to-top fade" data-click="scroll-top"><i class="fa fa-angle-up"></i></a>
		<!-- end scroll to top btn -->
	</div>

	<!-- end page container -->
	
	<!-- ================== BEGIN BASE JS ================== -->
	<?php include('all/footer.html') ?>
    </body>
</html>
